//自定义异常

public class exp1Exception extends  Exception {
    String message;
    public exp1Exception(String wen){
        message = "输入错误，发生异常";
    }
    public String warnMess(){
        return message;
    }

}
